package com.victualler.product.customer.repository;

import com.victualler.core.base.repository.BaseRepository;
import com.victualler.product.customer.entity.CustomerDao;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author: Guoshichang
 * @discription: 
 */
@Repository
public interface CustomerRepository extends BaseRepository<CustomerDao,Long> {
    /**
     * @author Guoshichang   
     * @since 14:04 on 2019/1/16.
     * @param openId 微信id
     * @return 账户信息
     * @Function 根据微信唯一标识获取对应的店铺信息
     */
   public List<CustomerDao> findByOpenId(String openId);
}
